<%@page import="java.net.URLEncoder"%>


<jsp:include page="/layouts/header.jsp">
	<jsp:param name="title" value="" />
	<jsp:param name="description" value="" />
	<jsp:param name="keywords" value="" />
	<jsp:param name="page" value="home" />
</jsp:include>

<div id="userform" class="clearafter">
	<h1>Edit link</h1><hr/>
	<div class="submitlink">
		<form method="post" action="" name="submitlink">
			<a href="/delete?link=" style="font-size: 20px;" onclick="javascript:if(!confirm('Do you want delete ?'))return false;">Delete</a>
			<p>
				<label> Sitemaps <br /> 
				<b style="font-size: 25px;">dfafsdasdf </b>
				<input class="input" type="hidden" name="sitemap" id="sitemap" value=""/> </label>
			</p>
			<p>
				HTML <input class="input type" type="radio"
					name="type"  style="width: auto;"  value="html" />&nbsp;&nbsp;&nbsp;&nbsp;
				RSS <input class="input type" type="radio"
					name="type"  style="width: auto;" value="rss" />
			</p>
			<p>
				Nofollow <input class="input type" type="radio"
					name="typeLink"  style="width: auto;"  value="nofollow" <%=(request.getAttribute("typeLink")!=null&&request.getAttribute("typeLink").equals("nofollow"))?"checked=\"checked\"":""%> <%=request.getAttribute("typeLink")==null?"checked=\"checked\"":"" %>/>&nbsp;&nbsp;&nbsp;&nbsp;
				Dofollow <input class="input type" type="radio"
					name="typeLink"  style="width: auto;" value="dofollow" <%=(request.getAttribute("typeLink")!=null&&request.getAttribute("typeLink").equals("dofollow"))?"checked=\"checked\"":""%>/>
			</p>
			<p>
				Source : 
				Yes <input class="input type" type="radio"
					name="source"  style="width: auto;"  value="yes" <%=(request.getAttribute("source")!=null&&request.getAttribute("source").equals("yes"))?"checked=\"checked\"":""%> <%=request.getAttribute("source")==null?"checked=\"checked\"":"" %>/>&nbsp;&nbsp;&nbsp;&nbsp;
				No <input class="input type" type="radio"
					name="source"  style="width: auto;" value="no" <%=(request.getAttribute("source")!=null&&request.getAttribute("source").equals("yes"))?"checked=\"checked\"":""%>/>
			</p>
			<p>
				
				<label> Selector of Title Link
				&nbsp;<img alt="Question" src="/images/i-help.gif" class="question"/>
				<span class="note">
					Choose Newest Article of Blog. Then, Input Selector format tag to get Title Link: "class" by "." + name of class - "id" by "#" + name of id . Example : http://abc.com/getSelector
				</span>
				<br /> <input class="input" type="text"
					name="reglink" id="reglink" value=""/> </label>
			</p>
			<p>
				
				<label> Selector of Title
				&nbsp;<img alt="Question" src="/images/i-help.gif" class="question"/>
				<span class="note">
					Click to the tilte link to redirect details page that you chose Newest Article. Then, input Selector format tag to get Title.
				</span>
				 <br /> <input class="input"
					type="text" name="regtitle" id="regtitle" value=""/> </label>
			</p>
			<p>
				
				<label> Selector of Content
				&nbsp;<img alt="Question" src="/images/i-help.gif" class="question"/>
				<span class="note">
					Input Selector format tag to get Content of Newest Article.
				</span>
				 <br /> <input class="input"
					type="text" name="regcontent" id="regcontent" value=""/> </label>
			</p>
			<p>
				<label> Selector To Remove
				&nbsp;<img alt="Question" src="/images/i-help.gif" class="question"/>
				<span class="note">
					Input Selector format tag to remove a part of Content of Newest Article that you don't want. 
					
				</span>
				 <br /> <input class="input"
					type="text" name="regremove" id="regremove" value=""/> </label>
			</p>
			<p>
				<input type="submit" value="submit" />
			</p>
			<a href="javascript:void(0)" id="checklink">Preview Article</a> First, previewing your Article is ok before click Submit Button
		</form>
	</div>
	<div class="howdy">
		Howdy : <b>afdafsasfd</b> <br />
		
		Type : <b>fasdsdfsad</b> <br />
		<a href="/add-link">Get Auto Content</a> <br/>
		<a href="/get-content">Get Special Content</a> <br /> 
		<a href="/edit-profile">Edit profile</a> <br />
		<a href="/logout">Logout</a> <br /> 
		<br/>
		<strong>List link</strong>
		<div class="listlink">
			<ul>
				
					<li> - <a href="/view?link=">afsadfaasdasfd</a></li>
				
			</ul>
		</div>
	</div>
	<div class="clearbreak"></div>
	<hr />
	<div class="checkresult">
		
		
	</div>
</div>
<script type="text/javascript" src="/js/addlink.js"></script>
<%@ include file='/layouts/footer.jsp'%>